﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ThridGroup.ERP.DTO;

namespace ThridGroup.ERP.ProductionSystem
{
    public interface IProductionServices
    {
        Task<int> AddProdction(ProdctionDTO prodction);
        Task<List<ProdctionDTO>> ShowProdction(int pageIndex=1,int pageSize=10,string? orderName="");
        Task<int> DeleteProdction(int id);
        Task<ProdctionDTO> QueryProdction(int id);
        Task<int> UpdateProdction(ProdctionDTO prodction);
    }
}
